package entity;
import java.util.*;
public class User {
	private String name;
	private String password;
	private String telephone;
	private String address;
	private String realname;
	LinkedList <String> car;
	public User(String na, String pa,String te,String ad,String re){
		name=na;
		password=pa;
		telephone=te;
		address=ad;
		realname=re;
	}
	public User(String na, String pa){
		name=na;
		password=pa;
		car =new LinkedList<String>();
	}
	public User(){
		car =new LinkedList<String>();
	}
	public String getTelephone() {
		return telephone;
	}
	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getRealname() {
		return realname;
	}
	public void setRealname(String realname) {
		this.realname = realname;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public void setCar(LinkedList<String> car) {
		this.car = car;
	}
	public LinkedList<String> getCar(){
		return car;
	}
	
}
